//
//  DateDay.h
//  CalenderDemo
//
//  Created by GZMLUser on 14-11-6.
//  Copyright (c) 2014年 GZMLUser. All rights reserved.
//

#import <UIKit/UIKit.h>


@class DateDay;

@protocol DateDayDelegate <NSObject>
// 日期点击代理
-(void)dateDayTapped:(DateDay *)dateDay;
@end

@interface DateDay : UIView

@property (weak, nonatomic) id<DateDayDelegate> delegate;// 日期点击代理

@property (weak, nonatomic) IBOutlet UIButton *dateButton; // 日期按钮
@property (strong, nonatomic) NSDate *date;//
@property (strong, nonatomic) UIColor *selectedBackgroundColor;// 选中背景颜色
@property (strong, nonatomic) UIColor *currentDateColor;// 当前日期为今天颜色


-(void)setLightText:(BOOL)light;
-(void)setSelected:(BOOL)selected; // 设置选中时候个属性 
- (IBAction)dateButtonTapped:(id)sender;

@end
